package com.zhou.system.management.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zhou.common.lib.model.CommonPage;
import com.zhou.system.management.entity.SysRole;
import com.zhou.system.management.model.ao.SysRoleAddAo;
import com.zhou.system.management.model.ao.SysRoleEnableAo;
import com.zhou.system.management.model.ao.SysRoleQueryAo;
import com.zhou.system.management.model.ao.SysRoleUpdateAo;
import com.zhou.system.management.model.vo.SysRoleVo;

/**
 * <p>
 * 角色信息表 服务类
 * </p>
 *
 * @author zxf
 * @since 2023-05-18
 */
public interface ISysRoleService extends IService<SysRole> {

    void add(SysRoleAddAo addAo);

    void update(SysRoleUpdateAo updateAo);

    void delete(Long roleId);

    CommonPage<SysRole> query(SysRoleQueryAo queryAo);

    void enableRole(SysRoleEnableAo ao);

    SysRoleVo queryOne(Long roleId);

}
